package volume // Package volume import "xemo.top/docker/docker/api/volume"
// VolumeCreateBody Volume configuration
type VolumeCreateBody struct {
	// Name of the volume driver to use
	// Required: true
	Driver string `json:"Driver"`
	// 驱动程序选项和值的映射。这些选项直接传递给驱动程序，并且是特定于驱动程序的。
	// A mapping of driver options and values.These options are passed directly to the driver and are driver specific.
	// Required: true
	DriverOpts map[string]string `json:"DriverOpts"`
	// User-defined key/value metadata
	// Required: true
	Labels map[string]string `json:"Labels"`
	// The new volume's name. If not specified , Docker generates a name.
	// Required: true
	Name string `json:"Name"`
}
